package com.feiyun.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.feiyun.common.PageParam;
import com.feiyun.model.entity.TempUser;
import com.feiyun.model.entity.UploadUserInfo;
import com.feiyun.model.entity.User;
import com.feiyun.model.entity.UserFileRelation;

/**
 * @ClassName ITempUserService
 * @author: xingming
 * @Description:
 * @time 2023/03/12 17:26:56
 * @Version 1.0
 */

@Service
public interface ITempUserService {
    void saveTempUser(TempUser tempUser);

    User login(TempUser tempUser);

    List<TempUser> selectUserByCondition(TempUser tempUser);

    List<User> selectUploadUserInfo(PageParam<UserFileRelation> pageParam);

    void updateTempUserInfo(User user);

    /**
     * @param userId
     * @return String
     * @author: jiyunfei
     * @description: 根据userid 查询 上传文件id
     * @date: 2023/4/12 13:4
     */
    String findFileIdByUploadUser(String userId);
}
